.class Lcom/permission/runtime/o;
.super Ljava/lang/Object;
.source "SpecialPermissionRequest.java"

# interfaces
.implements Lcom/permission/runtime/e;


# instance fields
.field private a:Landroid/content/Context;

.field private b:Ljava/util/HashMap;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Integer;",
            ">;"
        }
    .end annotation
.end field


# direct methods
.method public constructor <init>(Landroid/content/Context;Ljava/util/HashMap;)V
    .locals 0
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "Ljava/util/HashMap<",
            "Ljava/lang/String;",
            "Ljava/lang/Integer;",
            ">;)V"
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    .line 2
    iput-object p1, p0, Lcom/permission/runtime/o;->a:Landroid/content/Context;

    .line 3
    iput-object p2, p0, Lcom/permission/runtime/o;->b:Ljava/util/HashMap;

    return-void
.end method


# virtual methods
.method public a(Lcom/permission/runtime/c;)V
    .locals 2

    .line 1
    sget v0, Landroid/os/Build$VERSION;->SDK_INT:I

    const/16 v1, 0x17

    if-ge v0, v1, :cond_0

    .line 2
    invoke-virtual {p1}, Lcom/permission/runtime/c;->c()V

    goto :goto_0

    .line 3
    :cond_0
    new-instance v0, Lcom/permission/runtime/o$a;

    invoke-direct {v0, p0, p1}, Lcom/permission/runtime/o$a;-><init>(Lcom/permission/runtime/o;Lcom/permission/runtime/c;)V

    invoke-static {v0}, Lcom/permission/runtime/PermissionProxyActivity;->a(Lcom/permission/runtime/b;)V

    .line 4
    new-instance p1, Landroid/content/Intent;

    iget-object v0, p0, Lcom/permission/runtime/o;->a:Landroid/content/Context;

    const-class v1, Lcom/permission/runtime/PermissionProxyActivity;

    invoke-direct {p1, v0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const/high16 v0, 0x10000000

    .line 5
    invoke-virtual {p1, v0}, Landroid/content/Intent;->setFlags(I)Landroid/content/Intent;

    .line 6
    iget-object v0, p0, Lcom/permission/runtime/o;->b:Ljava/util/HashMap;

    const-string v1, "key_request_permissions"

    invoke-virtual {p1, v1, v0}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;

    .line 7
    iget-object v0, p0, Lcom/permission/runtime/o;->a:Landroid/content/Context;

    invoke-virtual {v0, p1}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    :goto_0
    return-void
.end method
